package xyz.ibenben.zhongdian.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import xyz.ibenben.zhongdian.system.dao.LogDao;
import xyz.ibenben.zhongdian.system.entity.Log;
import xyz.ibenben.zhongdian.system.mapper.LogMapper;
import xyz.ibenben.zhongdian.system.service.LogService;

/**
 * 日志服务实现类
 * 提供了一些基本的服务
 * 记录日志到数据库
 *
 * @author chenjian
 * @since 2017年9月27日上午10:57:28
 */
@Service
public class LogServiceImpl extends ServiceImpl<Log> implements LogService {
	private final LogDao logDao;
	private final LogMapper logMapper;

	@Autowired
	public LogServiceImpl(LogDao logDao, LogMapper logMapper) {
		this.logDao = logDao;
		this.logMapper = logMapper;
	}
}
